home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Palettes / TTools / TToolsPalette / TBinderList.subproj / TBinderListConnectInspector.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  1.4 KB  |  51 lines

  1. /* TBinderListConnectInspector.h
  2.  * Written By:  Thomas Burkholder
  3.  *
  4.  * You may freely copy, distribute, and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  6.  * fitness for any particular use.
  7.  */
  8.  
  9. #import <appkit/appkit.h>
  10. #import <apps/InterfaceBuilder.h>
  11. #import "TBinderList.h"
  12.  
  13. // Category of TBinderList that does the connections-specific stuff
  14. @interface TBinderList (ConnectionsInspector)
  15.  
  16. -(const char *)getConnectInspectorClassName;
  17.  
  18. @end
  19.  
  20. // Connection inspector for the TBinderList class
  21. @interface TBinderListConnectInspector:IBInspector
  22. {
  23.     id binderInspector;    // inspector for TBinders.
  24.     id browser;            // The browser
  25.     id connectButton;        // The connect/disconnect button.
  26.     id connectorList;        // The list of connectors that we show
  27.     id accessorStorage;    // The storage of col. 1 accessors
  28.     id accessorBrowser;    // The browser of accessors.
  29.     id inspectorView;        // The total view
  30.     id sourceConnectButton;    // The connect/disconnect button for the ds.
  31.     id sourceDisplayButton;    // The dislay mechanism for the datasource.
  32. }
  33.  
  34. id getDSConnectorForSource(id anObject);
  35. id getTConnectorForDestination(id anObject);
  36.  
  37. - init;
  38. - inspectorView;
  39. - inspectBinderAfterDelay:sender;
  40. - inspectBinder:sender;
  41. - selectDSConnection:sender;
  42. - selectAccessor:sender;
  43. - dataSourceOk:sender;
  44. - showConnection:conn;
  45. - selectConnection:sender;  // action of the matrix
  46. - ok:sender;
  47. - revert:sender;
  48. - (BOOL)wantsButtons;
  49.  
  50. @end
  51.